﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.TO {
    /// <summary>
    /// 消费项目类型
    /// </summary>
    [Serializable]
    public enum EConsumeItemType {
        /// <summary>
        /// 1加油卡充值
        /// </summary>
        [Description("加油卡充值")]
        RechargeOilCard = 1,
        /// <summary>
        /// 2兑换商品
        /// </summary>
        [Description("兑换商品")]
        ExchangeProduct = 2,
        /// <summary>
        /// 3开店
        /// </summary>
        [Description("开店")]
        OpenShop = 3,
        /// <summary>
        /// 4戈伦埠
        /// </summary>
        [Description("戈伦埠")]
        GeLunBu = 4,
        /// <summary>
        /// 5移动支付
        /// </summary>
        [Description("移动支付")]
        MobilePay = 5,
        /// <summary>
        /// 6彩票
        /// </summary>
        [Description("彩票")]
        CaiPiao = 6,
        /// <summary>
        /// 7其他
        /// </summary>
        [Description("其他")]
        Other = 7,
        /// <summary>
        /// 8分销商城
        /// </summary>
        [Description("分销商城")]
        DistributionMall= 8,
        /// <summary>
        /// 9购买课程
        /// </summary>
        [Description("购买课程")]
        BuyCourse =9,
        [Description("我的店铺")]
        MyShop=10
    }

    /// <summary>
    /// 用户消费记录状态
    /// </summary>
    [Serializable]
    public enum EUserComsumeHisStatus {
        /// <summary>
        /// 1待发货
        /// </summary>
        [Description("待发货")]
        ToShipping = 1,
        /// <summary>
        /// 2失败
        /// </summary>
        [Description("失败")]
        Failure = 2,
        /// <summary>
        /// 3已发货
        /// </summary>
        [Description("已发货")]
        Shipped = 3,
    }

    /// <summary>
    /// 消费商品状态
    /// </summary>
    [Serializable]
    public enum EConsumeProductStatus {
        /// <summary>
        /// 1上架
        /// </summary>
        [Description("上架")]
        Putaway = 1,
        /// <summary>
        /// 2下架
        /// </summary>
        [Description("下架")]
        SoldOut = 2,
        ///// <summary>
        ///// 3已售馨
        ///// </summary>
        //[Description("已售馨")]
        //SoldEnd = 3,
        ///// <summary>
        ///// 4即将开放
        ///// </summary>
        //[Description("即将开放")]
        //Coming = 4
    }

    /// <summary>
    /// 任务适用于：1：APP；2：网页
    /// </summary>
    [Serializable]
    public enum EConsumeItemApply {
        /// <summary>
        /// 1APP
        /// </summary>
        [Description("APP")]
        APP = 1,
        /// <summary>
        /// 2网页
        /// </summary>
        [Description("网页")]
        WebPage = 2,
    }

}
